package com.crm.jdy.common.dto;

import com.crm.jdy.common.vo.PageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WOutInfoDto  extends PageVO implements Serializable {

    private static final long serialVersionUID = 16181566755L;

    @ApiModelProperty(name = "outId" , value = "出库主键id")
    private String outId;

    @ApiModelProperty(name = "outType" , value = "出库类型")
    private String outType;

    @ApiModelProperty(name = "outCon" , value = "出库仓库")
    private String outCon;

    @ApiModelProperty(name = "outCharPerson" , value = "负责人")
    private String outCharPerson;

    @ApiModelProperty(name = "outStatus" , value = "状态")
    private String outStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;

    @ApiModelProperty(name = "outCrePerson" , value = "创建人")
    private String outCrePerson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "updateTime" , value = "更新人")
    private Date updateTime;

    @ApiModelProperty(name = "outTime" , value = "出库时间")
    private String outTime;

    @ApiModelProperty(name = "isDelete" , value = "0正常 1删除")
    private Integer isDelete;

}
